/*
*

	@author: taco
	@Date: 2022/6/30
	@Time: 14:24

*
*/
package utils

import "strings"

func GetProduce(flag string) string {
	if strings.Index(flag, "light") != -1 {
		return "light"
	}
	if strings.Index(flag, "sweeper") != -1 {
		return "sweeper"
	}
	if strings.Index(flag, "mode") != -1 {
		return "mode"
	}
	return ""
}
